
/* 弹幕容器样式 */
.danmu-container {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100px;
    /* 根据需要调整高度 */
  }
  .speech-bubble {
    position: absolute;
    /* 初始位置在容器外部 */
    white-space: nowrap;
    border-radius: 80px;
    color: white;
    display: inline-block;
    font-size: 26px;
    left:20%;
    left: 100%;
    top:20px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    animation: danmu-animation 10s linear forwards;
    border-radius: 27px;
    border:2px solid #000;
    font-weight: bold;
    padding:0 100px;
    /* 应用动画 */
  }
  
  .speech-bubble0{
    background: #fff;
    color:rgb(81  , 168, 180);
  }
  .speech-bubble0::before{
    content: '';
    width: 100px;
    height: 55px;
    position: absolute;
    left:-10px;
    top:-20px;
    display: block;
    background: url('./../assets/01.png');
    background-size: 100% 100%;
  }
  .speech-bubble0::after{
    content: '';
    width: 55px;
    height: 55px;
    position: absolute;
    right:-3px;
    top:0;
    display: block;
    background: url('./../assets/02.png');
    background-size: 300px 55px;
    background-size: 100% 100%;
  }
  .speech-bubble1{
    background: rgb(81  , 168, 180);
  }
  .speech-bubble1::before{
    content: '';
    width: 80px;
    height: 55px;
    position: absolute;
    left:-10px;
    top:-20px;
    display: block;
    background: url('./../assets/11.png') no-repeat;
    background-size: 80% 100%;
  }
  .speech-bubble1::after{
    content: '';
    width: 55px;
    height: 55px;
    position: absolute;
    right:-3px;
    top:0;
    display: block;
    background: url('./../assets/12.png');
    background-size: 300px 55px;
    background-size: 100% 100%;
  }
  .speech-bubble2{
    background: rgb(90  , 176, 146);
  }
  .speech-bubble2::before{
    content: '';
    width: 80px;
    height: 55px;
    position: absolute;
    left:0;
    top:-20px;
    display: block;
    background: url('./../assets/21.png');
    background-size: 100% 100%;
  }
  .speech-bubble2::after{
    content: '';
    width: 55px;
    height: 55px;
    position: absolute;
    right:-3px;
    top:0;
    display: block;
    background: url('./../assets/22.png');
    background-size: 300px 55px;
    background-size: 100% 100%;
  }

  .speech-bubble1 .speech-bubble-txt{

  }
  .xuehua{
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
    left:0;
    top:0;
  }

  #app1{
    width: 100vw;
    height: 100vh;
    background: url('./../assets/bg.png') no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
  }